package n7.restaurant.java.Entity;

import java.util.ArrayList;

public class Ingredient {
	private String nom;
	private Position position;
	public static ArrayList<Ingredient> ingredients = new ArrayList<Ingredient>();
	
	public Ingredient() {
		
	}
	
	public Ingredient(String nom, Position position) {
		super();
		this.nom = nom;
		this.position = position;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public Position getPosition() {
		return position;
	}

	public void setPosition(Position position) {
		this.position = position;
	}

	@Override
	public String toString() {
		return "Ingredient [nom=" + nom + ", " + position + "]";
	}
}
